<template>
  <view>

    <view class="back"></view>
    <view
        :style="{
      height: statusHeight+'px'
    }"
        style="background-color: #f5f5f5;position: fixed;top:0;width: 100%;z-index:999;left:0;"
    >
    </view>
    <view
        :style="{
      height: statusHeight+'px'
    }"
    ></view>

    <view class="split"></view>

  </view>
</template>

<script>
import UserCommitInfoCard from "@/components/user-info/user-common-info-card";

export default {
  components: {UserCommitInfoCard},
  data() {
    return {
      userSelf: {
      },
      empSelf:{},
      statusHeight: 0,
      isLogoutModal: false
    };
  },
  created() {
    this.init();
  },
  mounted() {
  },
  methods: {
    init() {
      this.userSelf = this.$kt.userAccount.getSelf();
      this.empSelf = this.$emp.getSelf();
      this.statusHeight = uni.getSystemInfoSync().statusBarHeight;
    },
    logout() {
      this.$kt.storage.set("token", null);
      this.$kt.router.reLaunch('/pages/login/login');
    }
  }

}
</script>

<style lang="scss" scoped>
@import "/components/user-info/user-info.css";

.back {
  position: fixed;
  background-color: #f8f8f8;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

</style>
